package com.xuanyuan.ndk

import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.widget.TextView

class TestActivity : AppCompatActivity() {
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_test)

        val tvText=findViewById<TextView>(R.id.text)
        val nativeLib = NativeLib()

        tvText.setText(nativeLib.stringFromJNI())
    }
}